
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ page  contentType="text/html; charset=UTF-8" %>   
 	
		<%@include file="loading.jsp" %>	
		

  <s:form action="manterarquivo" theme="simple"  method="post" id="formlink" enctype="multipart/form-data">
  
	  	
  	<s:actionerror cssClass="ui-state-error ui-corner-all" cssStyle="padding: 0pt 0.7em;"/>  	 
  	<s:actionmessage cssClass="ui-state-highlight ui-corner-all" cssStyle="padding: 0pt 0.7em; margin-top: 20px;"/>
		
	 <fieldset class="ui-widget ui-widget-content ui-corner-all" style="margin: 10px">
  	 		<legend class="ui-state-default ui-corner-all">&nbsp;&nbsp;&nbsp;Link&nbsp;&nbsp;&nbsp;</legend>
  	 		<br>
  	 		<s:hidden name="idCentro"/>
			<s:hidden name="idEstande"/>
		<table width="100%" >
		<tr valign="top">	
			
    		<td>	
				<s:file name="upload" label="Arquivo" cssStyle="width: 200px"/>					
			</td>			
			
			<td>
				<s:textfield name="fileCaption" label="Caption"/>
			</td>
		
		</tr>
		
		
		<tr>
			<td>
				<table>
					<tr>
						<td>
							<sj:a onclick="divSumir();" id="retornar" href="manterestande!editEstande?idCentro=%{idCentro}&idEstande=%{idEstande}"  targets="main">Retornar
    						</sj:a> 
						</td>
						<td>
							 	<sj:a onclick="divSumir();" id="ajaxformlink" formIds="formlink"  targets="main"  >Salvar
    							</sj:a>
						</td>
						<td><sj:a href="%{manterlink!deleteLink?idEstande=%{idEstande}&idCentro=%{idCentro}&idManager=%{idManager}" targets="main" indicator="indicator" id="exlcuir">Excluir</sj:a></td>
					</tr>
				</table>
			</td>
		</tr>
			
	 </table>
			
			
	</fieldset>
	
	
	
 </s:form> 

 